Stocks Post Sharp Gains As Commodity Prices Cool